<?php
namespace app\admin\validate;

use think\Validate;
use think\Db;

class Sms extends Validate
{

    // 验证规则
    protected $rule = [
        'sms_sign'=> 'require',
        'sms_tpl_code' => 'require',
        'send_scene'=>'require',
        'content'=> 'require'
    ];


    //错误信息
    protected $message = [
        'sms_sign.require' => '请输入短信签名',
        'sms_tpl_code.require' => '请输入短信模板ID',
        'send_scene.require' => '请输入发送场景',
        'content.require' => '请输入短信内容',
    ];

}